[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Confine_Mouse_Horiz


Purpose   Restricts the screen position of the mouse cursor horizontally.

Decln.    Confine_Mouse_Horiz(X1,X2:byte);

Remarks   X1, X2 are the leftmost and rightmost X coordinates.

          If the mouse is outside the confined coordinates when the
          procedure is called, the mouse is repositioned inside the nearest
          boundary as soon as any mouse activity occurs.

Example

BEGIN
    HIDE_MOUSE_CURSOR;
    CONFINE_MOUSE_HORIZ(20,60);
    SHOW_MOUSE_CURSOR;
END;

See Also: Confine_Mouse_Vert
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson